package com.sfzy.mapper;

import com.sfzy.entity.ConsultantLevel;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ConsultantLevelMapper {
    //增加
    int insertConsultantLevel(ConsultantLevel consultantLevel);
    //删除
    int deleteConsultantLevel(int id);
    //修改
    int updateConsultantLevel(ConsultantLevel consultantLevel);
    //根据id查询+级联
    ConsultantLevel selectConsultantLevel(int id);
    //分页+级联
    List<ConsultantLevel> selectAllConsultantLevel(ConsultantLevel consultantLevel);
}
